package edu.scnu.fans.fingertip;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 开启服务网关代理
 */
@EnableZuulProxy
@SpringBootApplication(scanBasePackages = "edu.scnu.fans.fingertip")
@EnableFeignClients(basePackages = "edu.scnu.fans.fingertip")
public class GatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(GatewayApplication.class, args);
    }

}
